#include <QtGui/QApplication>
#include "qmlapplicationviewer.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    QmlApplicationViewer viewer;
    //viewer.setOrientation(QmlApplicationViewer::Auto);
    //viewer.setOrientation(ScreenOrientation::ScreenOrientationAuto);
    viewer.setMainQmlFile(QLatin1String("qml/qmluiexamples/main.qml"));

    viewer.showExpanded();


    return app.exec();
}
